import request from '@/utils/request'

// 查询财务结算管理列表
export function listVoucher1(query) {
  return request({
    url: '/system/voucher1/list',
    method: 'get',
    params: query
  })
}

// 查询财务结算管理详细
export function getVoucher1(fVoucherid1) {
  return request({
    url: '/system/voucher1/' + fVoucherid1,
    method: 'get'
  })
}

// 新增财务结算管理
export function addVoucher1(data) {
  return request({
    url: '/system/voucher1',
    method: 'post',
    data: data
  })
}

// 修改财务结算管理
export function updateVoucher1(data) {
  return request({
    url: '/system/voucher1',
    method: 'put',
    data: data
  })
}

// 删除财务结算管理
export function delVoucher1(fVoucherid1) {
  return request({
    url: '/system/voucher1/' + fVoucherid1,
    method: 'delete'
  })
}
